<el-form ref="form" :model="form" :rules="rules" label-width="120px">
    <el-row :gutter="10">
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="商机主题编号" prop="GWBG001">
                <el-input v-model="form.GWBG001" :disabled="!isAdd"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="说明" prop="GWBGL003">
                <el-input v-model="form.GWBGL003"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="助记码" prop="GWBGL004">
                <el-input v-model="form.GWBGL004"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="客户编号">
                <el-input v-model="form.GWBG002" readonly clearable @clear="clearGwbg002">
                    <i class="el-icon-search el-input__icon" @click="openKh" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="客户名称">
                <el-input v-model="form.GWBG002_NAME" readOnly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="归属业务员">
                <el-input v-model="form.GWBG005_NAME" readonly clearable>
                    <i class="el-icon-search el-input__icon" @click="openYwy" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="特价否">
                <el-select v-model="form.GWBG003" clearable>
                    <el-option v-for="item in selectOptions.base_gwat152_gwbg003" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="信用否">
                <el-select v-model="form.GWBG004" clearable>
                    <el-option v-for="item in selectOptions.base_gwat152_gwbg004" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="有效" prop="GWBGACTI">
                <el-select v-model="form.GWBGACTI" clearable>
                    <el-option v-for="item in selectOptions.sys_y_n" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancle">关闭</el-button>
            <el-button v-show="!isDetail" type="warning" icon="icon iconfont icon-21" size="mini" @click="save">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/base/gwat152_edit"], $.noop);
</script>
